import diff from './diff'

export default function render (
    virtualDOM, 
    container, 
    oldDOM = container.firstChild
) {
    // 对比新旧dom方法
    diff(virtualDOM, container, oldDOM)
}